package com.ruoyi.hr.service.impl;

import com.ruoyi.common.annotation.DataSource;
import com.ruoyi.common.enums.DataSourceType;
import com.ruoyi.hr.domain.Laguages;
import com.ruoyi.hr.mapper.LaguagesMapper;
import com.ruoyi.hr.service.LaguagesService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;

@Service
public class LaguagesServiceImpl implements LaguagesService {
    @Autowired
    private LaguagesMapper laguagesMapper;

    @DataSource(value = DataSourceType.SLAVE)
    @Override
    public List<Laguages> findLaguages(Long eid) {
        return laguagesMapper.findLaguages(eid);
    }




}
